package io.g740.dto;

/**
 * 字段映射信息
 *
 * @author YunKaiLuo
 * @date 2024/10/21
 */
public class FieldMappingResultDto extends FieldMappingDto {
    /**
     * 获取字段在源表中的位置
     */
    private int sourcePosition;
    /**
     * 源字段类型
     * INT
     */
    private String sourceTypeName;

    /**
     * 目标字段类型
     * 用来和源校验
     */
    private String targetTypeName;

    public FieldMappingResultDto(String sourceColumnName, String targetColumnName) {
        super(sourceColumnName, targetColumnName);
    }

    public int getSourcePosition() {
        return sourcePosition;
    }

    public void setSourcePosition(int sourcePosition) {
        this.sourcePosition = sourcePosition;
    }

    public String getSourceTypeName() {
        return sourceTypeName;
    }

    public void setSourceTypeName(String sourceTypeName) {
        this.sourceTypeName = sourceTypeName;
    }

    public String getTargetTypeName() {
        return targetTypeName;
    }

    public void setTargetTypeName(String targetTypeName) {
        this.targetTypeName = targetTypeName;
    }
}
